<div class="modal-content">
	<div class="modal-header">
		<h4 class="modal-title" >添加专业</h4>
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
	</div>
	<div class="modal-body" style="height: 450px;overflow: auto;">
		<table cellpadding="10px 5px" style="width: 100%;">
			<tr>
				<td width="100px">年级：</td>
				<td>
					<select class="form-control" ng-options="grade.id as grade.name for grade in gradeList" ng-model="form.fk_grade" form-check="must" form-check-alert="年级不能为空">
						<option value="">==请选择==</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>类型：</td>
				<td>
					<select class="form-control" ng-model="form.type" form-check="must" form-check-alert="类型不能为空" ng-change="findMajor()">
						<option value="1">专业大类</option>
						<option value="2">专业</option>
						<option value="3">专业技能方向</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>上级专业：</td>
				<td>
					<select class="form-control sjzy" disabled="disabled" ng-options="major.id as major.name for major in majorList" ng-model="form.father_id">
						<option value="">==请选择==</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>专业代码：</td>
				<td>
					<input ng-model="form.code" type="text" class="form-control"  form-check="must" form-check-alert="专业代码不能为空"/>
				</td>
			</tr>
			<tr>
				<td>专业名称：</td>
				<td>
					<input ng-model="form.name" type="text" class="form-control"  form-check="must" form-check-alert="专业名称不能为空"/>
				</td>
			</tr>
			<tr>
				<td>年限：</td>
				<td>
					<input ng-model="form.years" type="text" class="form-control"  form-check="must" form-check-alert="年限不能为空"/>
				</td>
			</tr>
			<tr>
				<td>学制：</td>
				<td>
					<select class="form-control" ng-model="form.school_system" form-check="must" form-check-alert="学制不能为空">
						<option value="1">学年制</option>
						<option value="2">学分制</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>学科分类：</td>
				<td>
					<select class="form-control" ng-model="form.subject_type" form-check="must" form-check-alert="学科分类不能为空">
						<option value="1">文科</option>
						<option value="2">理科</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>是否有效：</td>
				<td>
					<select class="form-control" ng-model="form.if_take_effect">
						<option value="0">否</option>
						<option value="1">是</option>
					</select>
				</td>
			</tr>
		</table>
	</div>
	<div class="modal-footer">
		<button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
	</div>
</div>